package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.domain.WOrderDeliver;
import com.ruoyi.system.domain.vo.WOrderDeliverVO;

/**
 * 物料订单发货Service接口
 * 
 * @author ruoyi
 * @date 2021-12-05
 */
public interface IWOrderDeliverService 
{
    /**
     * 查询物料订单发货
     * 
     * @param id 物料订单发货主键
     * @return 物料订单发货
     */
    public WOrderDeliver selectWOrderDeliverById(Long id);

    /**
     * 查询物料订单发货列表
     * 
     * @param wOrderDeliver 物料订单发货
     * @return 物料订单发货集合
     */
    public List<WOrderDeliverVO> selectWOrderDeliverList(WOrderDeliverVO wOrderDeliverVO);
    
    public WOrderDeliverVO selectWOrderDeliverInfo(WOrderDeliverVO wOrderDeliverVO);
    
    
    public R addDeliver(WOrderDeliver wOrderDeliver);

    /**
     * 新增物料订单发货
     * 
     * @param wOrderDeliver 物料订单发货
     * @return 结果
     */
    public int insertWOrderDeliver(WOrderDeliver wOrderDeliver);

    /**
     * 修改物料订单发货
     * 
     * @param wOrderDeliver 物料订单发货
     * @return 结果
     */
    public int updateWOrderDeliver(WOrderDeliver wOrderDeliver);

    /**
     * 批量删除物料订单发货
     * 
     * @param ids 需要删除的物料订单发货主键集合
     * @return 结果
     */
    public int deleteWOrderDeliverByIds(Long[] ids);

    /**
     * 删除物料订单发货信息
     * 
     * @param id 物料订单发货主键
     * @return 结果
     */
    public int deleteWOrderDeliverById(Long id);
}
